package com.zrb.mobile;

 

import com.zrb.mobile.common.ValidateCode;
import com.zrb.mobile.ui.ValidateImageView;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.ImageView;

public class test_validateCodeActivity  extends Activity  {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		requestWindowFeature(Window.FEATURE_NO_TITLE); 
		
		this.setContentView(R.layout.test_validate_code);
 		
		ImageView	yanzhengma_img = (ImageView) findViewById(R.id.imageView1);  
		 yanzhengma_img.setImageBitmap(ValidateCode.getInstance().createBitmap());  
		 
		 
		 ValidateImageView	yanzhengma_img2 = (ValidateImageView) findViewById(R.id.imageView2);  
		 
		 yanzhengma_img2.getValidataAndSetImage( new String[]{"2","c","d","4"});
	}
}
